package com.erp.framework.model.criteria;

import java.io.Serializable;

import com.erp.app.admin.sysParam.beans.SysParamList;
import com.erp.framework.SimpleConstants;
import com.erp.framework.util.user.User;

public abstract class SimpleBaseSrchCriteria implements Serializable, SimpleConstants {

    protected java.util.ArrayList userSecurityList;
    protected java.util.ArrayList userApprovalList;
    protected String securityDeptFieldName;
    protected String securityUserFieldName;
    protected String securityUserGroupFieldName;
    protected String securityOriginator;
    protected String searchMode = SimpleConstants.SEARCH_MODE_NORMAL;
    protected String orderBy;
    protected String loginCompanyCode;
    protected SysParamList sysParamList;
    private boolean isSearchResult;
    private String srchCompanyCode;

    private User srchUser;
    
    public boolean isSearchResult() {
        return isSearchResult;
    }

    public void setSearchResult(boolean isSearchResult) {
        this.isSearchResult = isSearchResult;
    }

    public String getSearchMode() {

        return searchMode;
    }

    public void setSearchMode(String searchMode) {

        this.searchMode = searchMode;
    }

    public java.util.ArrayList getUserSecurityList() {
        return userSecurityList;
    }

    public void setUserSecurityList(java.util.ArrayList userSecurityList) {
        this.userSecurityList = userSecurityList;
    }

    public String getSecurityDeptFieldName() {

        return securityDeptFieldName;
    }

    public void setSecurityDeptFieldName(String securityDeptFieldName) {

        this.securityDeptFieldName = securityDeptFieldName;
    }

    public String getSecurityUserFieldName() {

        return securityUserFieldName;
    }

    public void setSecurityUserFieldName(String securityUserFieldName) {

        this.securityUserFieldName = securityUserFieldName;
    }

    public String getSecurityOriginator() {

        return securityOriginator;
    }

    public void setSecurityOriginator(String securityOriginator) {

        this.securityOriginator = securityOriginator;
    }

    public String getSecurityUserGroupFieldName() {

        return securityUserGroupFieldName;
    }

    public void setSecurityUserGroupFieldName(String securityUserGroupFieldName) {

        this.securityUserGroupFieldName = securityUserGroupFieldName;
    }

    public java.util.ArrayList getUserApprovalList() {
        return userApprovalList;
    }

    public void setUserApprovalList(java.util.ArrayList userApprovalList) {
        this.userApprovalList = userApprovalList;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public String getLoginCompanyCode() {
        return loginCompanyCode;
    }

    public void setLoginCompanyCode(String companyCode) {
        this.loginCompanyCode = companyCode;
    }

    public SysParamList getSysParamList() {
        return sysParamList;
    }

    public void setSysParamList(SysParamList sysParamList) {
        this.sysParamList = sysParamList;
    }

    public String getSrchCompanyCode() {
        return srchCompanyCode;
    }

    public void setSrchCompanyCode(String srchCompanyCode) {
        this.srchCompanyCode = srchCompanyCode;
    }
    
    public User getSrchUser() { return srchUser; }
    
    public void setSrchUser(User srchUser) { this.srchUser = srchUser; }
    
    public String getVOClassName(){return null;};
    public String getThisClassName(){return null;};
}
